Ext.define('HGMIDE.store.DeviceData', {
			extend : 'Ext.data.Store',
			config : {
				model : 'HGMIDE.model.DeviceModel',
				storeId : 'devicestore',
				autoLoad : true,
				listeners : {
					addrecords : function(store, records, eOpts) {
						var count = store.getCount();
						var newHeight = 65 * count + 45;
						Util.overlay.setHeight(newHeight + 'px');
						Ext.getCmp('devicesConnected').setHeight((newHeight - 45)
								+ 'px');
					},
					removerecords : function(store, records, indices, eOpts) {
						var count = store.getCount();
						var newHeight = 65 * count + 45;
						Util.overlay.setHeight(newHeight + 'px');
						Ext.getCmp('devicesConnected').setHeight((newHeight - 45)
								+ 'px');
					}
				}
			}
		});
